package com.Main;

import java.io.Serializable;
import java.rmi.RemoteException;

import com.asterisk.AmiManager;
import com.asterisk.FastAgiServer;
import com.protocols.sctp.SctpHandler;
import com.protocols.sctp.TcpHandler;
import com.protocols.sctp.m3ua.M3uaHandler;
import com.protocols.sctp.m3ua.sccp.SccpHandler;
import com.protocols.sctp.m3ua.sccp.tcap.TcapHandler;
import com.protocols.sctp.m3ua.sccp.tcap.camel.CamelHandler;
import com.protocols.sctp.m3ua.sccp.tcap.map.MapHandler;

public class StackManager {

	/**
	 * @param args
	 * @throws RemoteException 
	 */
	public static void main(String[] args) throws Exception {
		
		
	
		MyServiceThread  m3ua = new MyServiceThread(new M3uaHandler());
		m3ua.start();
		
		MyServiceThread  sccp = new MyServiceThread(new SccpHandler());
		sccp.start();

		MyServiceThread  tcap = new MyServiceThread(new TcapHandler());
		tcap.start();
		
		MyServiceThread  camel = new MyServiceThread(new CamelHandler());
		camel.start();
		
		MyServiceThread  map = new MyServiceThread(new MapHandler());
		map.start();
		
		MyServiceThread  ami = new MyServiceThread(new AmiManager());
		ami.start();
		
		MyServiceThread  fastagi = new MyServiceThread(new FastAgiServer());
		fastagi.start();
	
		MyServiceThread  sctp = new MyServiceThread(new SctpHandler());
		sctp.start();
		
		// conduct a loop chk
	}

}
